package com.heqiang.service;

import com.heqiang.domain.User;
import com.heqiang.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserService {
    @Autowired
    UserMapper mapper;
    public List<User> findAll(User user){
        return mapper.findAll(user);
    }
}
